package mysql

import "gorm.io/gorm"

// 预约
type BookIng struct {
	gorm.Model
	Address string `gorm:"type:varchar(30);not null;comment:房源地址"`
	Types   string `gorm:"type:varchar(30);not null;comment:户型"`
	Time    string `gorm:"type:datetime;not null;comment:预约时间"`
	Contact string `gorm:"type:varchar(30);not null;comment:房东联系方式"`
	HouseId int    `gorm:"type:int(11);not null;comment:房源ID"`
	UserId  int    `gorm:"type:int(11);not null;comment:用户ID"`
	Status  string `gorm:"type:varchar(30);not null;"`
}
